//
// Created by Administrator on 2023/5/28.
//
#pragma once
#ifndef LDF_DIALOG_H
#define LDF_DIALOG_H

#include "../../../Rely/Base_Widget/header/Base_Widget.h"
#include "../../Widget_Move/header/Widget_Move.h"
#include "../../../Rely/Client/header/Base_Client.h"
#include "../../../Rely/Title_Button/Close_Button/header/Close_Button.h"
#include "../../../Rely/Title_Button/Max_Button/header/Max_Button.h"
#include "../../../Rely/Title_Button/Mini_Button/header/Mini_Button.h"


class LDF_Dialog: public Base_Widget
{
    Q_OBJECT
public:
    LDF_Dialog();


    ~LDF_Dialog();


    void Profile() override;


    QPoint Size() override;


    Client<LDF_Dialog>* Get_Client();


    void Widget_Mini() override;


    void mouseMoveEvent(QMouseEvent* event) override;
    void mousePressEvent(QMouseEvent* event) override;
    void mouseReleaseEvent(QMouseEvent* event) override;


    void paintEvent(QPaintEvent *event) override;



private:
    Client<LDF_Dialog>* client;


    Close_Button<LDF_Dialog>* c_b;


    Max_Button<LDF_Dialog>* max_b;


    Mini_Button<LDF_Dialog>* mini_b;


    Widget_Move<LDF_Dialog>* wm;


    int width {500};
    int height {300};
};





#endif //LDF_DIALOG_H
